package com.ha.garbage.model;

import java.io.Serializable;

public class UserPasswordDTO implements Serializable {
    //员工id
    private Long userId;

    //旧密码
    private String oldPassword;

    //新密码
    private String newPassword;
public UserPasswordDTO(){

}
    public UserPasswordDTO(Long userId, String oldPassword, String newPassword) {
        this.userId = userId;
        this.oldPassword = oldPassword;
        this.newPassword = newPassword;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getOldPassword() {
        return oldPassword;
    }

    public void setOldPassword(String oldPassword) {
        this.oldPassword = oldPassword;
    }

    public String getNewPassword() {
        return newPassword;
    }

    public void setNewPassword(String newPassword) {
        this.newPassword = newPassword;
    }
}
